<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改订单')" />
	<th:block th:include="include :: select2-css" />
	<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-order-edit" th:object="${order}">
           <input id="id" name="id" th:field="*{id}"  type="hidden">
            
			<div class="form-group">	
				
				
				<label class="col-sm-2 control-label">委派骑手：</label>
				<div class="col-sm-8">
					<!-- <input id="type" name="type" th:field="*{type}" class="form-control" type="text"> -->
					<select name="qishouId" class="form-control "
						data-live-search="true" data-none-selected-text="请选择" th:field="*{qishouId}">
						<option value="0"></option>
						<option th:each="rider:${riderList}"
								th:value="${rider.id}"
								th:text="${rider.realname}" ></option>
					</select>
				</div>
			</div>			
		</form>
		</div>
  
    <div th:include="include::footer"></div>
    <th:block th:include="include :: select2-js" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
    var prefix = ctx + "Order/beWaitedShoppingOrder";
		
		 function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/editRider", $('#form-order-edit').serialize());
	        }
	    } 
		

		
		
	</script>
</body>
</html>
